package com.testdemo.web.vo;

import java.sql.Date;

import com.labmanager.JsonModule.RequestBase;

public class RecentRangement extends RequestBase {
	private Integer id;
	private String username;
	private String content;
	private Date startdate;
	private Date enddate;
	private Integer level;
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public Date getStartdate() {
		return startdate;
	}
	public void setStartdate(Date startdate) {
		this.startdate = startdate;
	}
	public Date getEnddate() {
		return enddate;
	}
	public void setEnddate(Date enddate) {
		this.enddate = enddate;
	}
	public Integer getLevel() {
		return level;
	}
	public void setLevel(Integer level) {
		this.level = level;
	}
	
	@Override
	public boolean checkData() {
		if(false == super.checkData()) return false;
		if(username == null || content == null) return false;
		return true;
	}
}
